 
class IndexController {

    def index = { 
    params.max = 10
    [teacherInstanceList: Teacher.list([max: 10, sort : 'createTime' , order: 'desc']), 
    postInstanceList: Post.list([max: 10, sort : 'createTime' , order: 'desc']),
    studentInstanceList: Student.list([max: 10, sort : 'createTime' , order: 'desc'])]  
    }
}
